<?php
namespace app\hotel\controller;

use think\Controller;
use think\Session;

class test extends Controller
{

    public function test(){

        echo "<pre>";
        print_r(Session::get('h_admin_id','hotel'));

    }

}